package com.lianzai.mobile.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;



/**
 * 社区表
 * 
 * @author zb
 * @email 1106900429@qq.com
 * @date 2018-12-16 14:50:17
 */
public class CommunityInfoDO implements Serializable {

	public static final int SYNC_STATUS_INIT = 0;
	public static final int SYNC_STATUS_RUNNING = 1;
	public static final int SYNC_STATUS_SUCCESS = 2;
	public static final int SYNC_STATUS_FAILED = 3;

	private static final long serialVersionUID = 1L;
	
	//主键
	private Integer id;
	//小区名字
	private String cName;
	//省
	private String provId;
	//市
	private String cityId;
	//区
	private String areaId;
	//详细地址
	private String cAddress;
	//备注
	private String cRemark;
	//状态 1正常 2删除
	private String status;
	//更新时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
	private Date updateTime;
	//创建时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
	private Date createTime;

	private long ruleMonth;
	private long ruleSeason;
	private long ruleYear;
	private long ruleTemp;

	//本地管理服务器ip
	private String localServerIp;
	//本地管理服务器端口
	private int localServerPort;

	//同步状态，只云端向本地系统同步该小区信息的成功与否的状态，0:未同步，1：同步中，2：同步成功，3：同步失败
	private Integer syncStatus;
	//同步状态更新时间
	private Date syncUpdateTime;

	//停车场
	private long parkTotal;
	//经度
	private String longitude;
	//纬度
	private String latitude;

	/**
	 * 设置：主键
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：主键
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：小区名字
	 */
	public void setCName(String cName) {
		this.cName = cName;
	}
	/**
	 * 获取：小区名字
	 */
	public String getCName() {
		return cName;
	}
	/**
	 * 设置：省
	 */
	public void setProvId(String provId) {
		this.provId = provId;
	}
	/**
	 * 获取：省
	 */
	public String getProvId() {
		return provId;
	}
	/**
	 * 设置：市
	 */
	public void setCityId(String cityId) {
		this.cityId = cityId;
	}
	/**
	 * 获取：市
	 */
	public String getCityId() {
		return cityId;
	}
	/**
	 * 设置：区
	 */
	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}
	/**
	 * 获取：区
	 */
	public String getAreaId() {
		return areaId;
	}
	/**
	 * 设置：详细地址
	 */
	public void setCAddress(String cAddress) {
		this.cAddress = cAddress;
	}
	/**
	 * 获取：详细地址
	 */
	public String getCAddress() {
		return cAddress;
	}
	/**
	 * 设置：备注
	 */
	public void setCRemark(String cRemark) {
		this.cRemark = cRemark;
	}
	/**
	 * 获取：备注
	 */
	public String getCRemark() {
		return cRemark;
	}
	/**
	 * 设置：状态 1正常 2删除
	 */
	public void setStatus(String status) {
		this.status = status;
	}
	/**
	 * 获取：状态 1正常 2删除
	 */
	public String getStatus() {
		return status;
	}
	/**
	 * 设置：更新时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}

	public long getRuleMonth() {
		return ruleMonth;
	}

	public void setRuleMonth(long ruleMonth) {
		this.ruleMonth = ruleMonth;
	}

	public long getRuleSeason() {
		return ruleSeason;
	}

	public void setRuleSeason(long ruleSeason) {
		this.ruleSeason = ruleSeason;
	}

	public long getRuleYear() {
		return ruleYear;
	}

	public void setRuleYear(long ruleYear) {
		this.ruleYear = ruleYear;
	}

	public long getRuleTemp() {
		return ruleTemp;
	}

	public void setRuleTemp(long ruleTemp) {
		this.ruleTemp = ruleTemp;
	}

	public String getLocalServerIp() {
		return localServerIp;
	}

	public void setLocalServerIp(String localServerIp) {
		this.localServerIp = localServerIp;
	}

	public int getLocalServerPort() {
		return localServerPort;
	}

	public void setLocalServerPort(int localServerPort) {
		this.localServerPort = localServerPort;
	}

	public Integer getSyncStatus() {
		return syncStatus;
	}

	public void setSyncStatus(Integer syncStatus) {
		this.syncStatus = syncStatus;
	}

	public Date getSyncUpdateTime() {
		return syncUpdateTime;
	}

	public void setSyncUpdateTime(Date syncUpdateTime) {
		this.syncUpdateTime = syncUpdateTime;
	}

	public long getParkTotal() {
		return parkTotal;
	}

	public void setParkTotal(long parkTotal) {
		this.parkTotal = parkTotal;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}
}
